github.com/gotd/td/mtproto.Conn.rpc (field)

14 uses

	github.com/gotd/td/mtproto (current package)
		bind.go#L111: 	if err := c.rpc.Do(ctx, call); err != nil {
		bind.go#L116: 			if err := c.rpc.Do(ctx, call); err != nil {
		conn.go#L57: 	rpc           *rpc.Engine
		conn.go#L160: 		rpc:               opt.engine,
		conn.go#L177: 	if conn.rpc == nil {
		conn.go#L178: 		conn.rpc = rpc.New(conn.writeContentMessage, rpc.Options{
		conn.go#L196: 	c.rpc.ForceClose()
		handle_ack.go#L20: 	c.rpc.NotifyAcks(ack.MsgIDs)
		handle_bad_msg.go#L55: 		c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode})
		handle_bad_msg.go#L63: 		c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode, NewSalt: bad.NewServerSalt})
		handle_result.go#L60: 		c.rpc.NotifyError(res.RequestMessageID, tgerr.New(rpcErr.ErrorCode, rpcErr.ErrorMessage))
		handle_result.go#L68: 	return c.rpc.NotifyResult(res.RequestMessageID, b)
		rpc.go#L32: 	if err := c.rpc.Do(ctx, req); err != nil {
		rpc.go#L42: 			return c.rpc.Do(ctx, req)